<!DOCTYPE html>
<html>
    <head></head>
    <body>
        <script>
            if (new URLSearchParams(location.search).has('code')) {
                new BroadcastChannel('osm-api-auth-complete').postMessage(location.href);
                window.close();
            }
        </script>
    </body>
</html>
